Skip to content

DOCSP-50960: Install with pie #278

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jul 1, 2025

Conversation

norareidy
Copy link
Collaborator

@norareidy norareidy commented Jul 1, 2025

Pull Request Info

PR Reviewing Guidelines

JIRA - https://jira.mongodb.org/browse/DOCSP-50960

Staging Links

  • get-started
  • references/upgrade
  • Self-Review Checklist

    • Is this free of any warnings or errors in the RST?
    • Did you run a spell-check?
    • Did you run a grammar-check?
    • Are all the links working?
    • Are the facets and meta keywords accurate?
    • Are the page titles greater than 20 characters long and SEO relevant?
    • Did you add redirects?

    Copy link

    netlify bot commented Jul 1, 2025

    Deploy Preview for docs-php-library ready!

    Name Link
    🔨 Latest commit fb98c18
    🔍 Latest deploy log https://app.netlify.com/projects/docs-php-library/deploys/686426b5372610000868ebf9
    😎 Deploy Preview https://deploy-preview-278--docs-php-library.netlify.app
    📱 Preview on mobile
    Toggle QR Code...

    QR Code

    Use your smartphone camera to open QR code link.

    To edit notification comments on pull requests, go to your Netlify project configuration.

    @docs-builder-bot
    Copy link

    docs-builder-bot commented Jul 1, 2025

    🔄 Deploy Preview for docs-php-library processing

    Item Details
    🔨 Latest Commit b7f89c8dbf3681cc626780fd5564e403beb4e9fb
    😎 Deploy Preview https://deploy-preview-278--docs-php-library.netlify.app
    🔍 Build Logs View Logs

    Copy link
    Contributor

    @rustagir rustagir left a comment

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    lgtm


    .. code-block:: bash

    pecl upgrade mongodb-<version-number>
    Copy link
    Contributor

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    S: should we add a sudo here?

    Copy link
    Member

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    The official pecl docs don't mention sudo, I don't think this is required by default. I can mess with the filesystem permissions. I would remove the sudo.

    Copy link
    Collaborator Author

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    Ok, since it's not in the pecl docs I'll remove

    Comment on lines 79 to 80
    If you want to install a {+extension-short+} version before v1.21,
    use the :php:`pecl command <mongodb.installation#mongodb.installation.pecl>`.
    Copy link
    Contributor

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    Suggested change
    If you want to install a {+extension-short+} version before v1.21,
    use the :php:`pecl command <mongodb.installation#mongodb.installation.pecl>`.
    To install a {+extension-short+} version before v1.21,
    you must use the :php:`pecl command <mongodb.installation#mongodb.installation.pecl>`.

    Copy link
    Member

    @GromNaN GromNaN left a comment

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    pie being a new tool, I don't expect people to have it installed yet. Can you add a link to the pie install instructions: https://github.com/php/pie/blob/main/docs/usage.md

    php --ini
    pie install mongodb/mongodb-extension^{+full-version+}

    Tto install a {+extension-short+} version before v1.21, you must
    Copy link
    Member

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    Suggested change
    Tto install a {+extension-short+} version before v1.21, you must
    To install a {+extension-short+} version before v1.21, you must


    .. code-block:: bash

    php --ini
    pie install mongodb/mongodb-extension^{+full-version+}
    Copy link
    Member

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    The colon is missing:

    Suggested change
    pie install mongodb/mongodb-extension^{+full-version+}
    pie install mongodb/mongodb-extension:^{+full-version+}

    @norareidy norareidy requested a review from GromNaN July 1, 2025 18:24
    @norareidy norareidy merged commit 90ce43c into mongodb:comp-cov Jul 1, 2025
    7 checks passed
    @norareidy norareidy deleted the DOCSP-50960-pie-install branch July 1, 2025 20:07
    norareidy added a commit that referenced this pull request Jul 9, 2025
    * Add redirects workflow
    
    * DOCSP-47058: Shift TOC (#251)
    
    * DOCSP-47058: Shift TOC
    
    * edits
    
    * issues and help, edits
    
    * fix errors
    
    * redirects
    
    * landing
    
    * RR feedback
    
    * RR feedback 2
    
    * fix gh action
    
    * DOCSP-47057: Network compression (#254)
    
    * DOCSP-47057: Network compression
    
    * delete
    
    * edits
    
    * MM feedback
    
    * DOCSP-47055: Collation (#258)
    
    * DOCSP-47055: Collation
    
    * add to each page
    
    * edit
    
    * edits
    
    * list format
    
    * SA feedback
    
    * DOCSP-47060: Causal consistency (#261)
    
    * DOCSP-47060: Causal consistency
    
    * edits
    
    * Fix phpcs workflow
    
    * First fixes
    
    * Fix trailing commas
    
    * Fix string quoting
    
    * Fix whitespace errors
    
    * Fix use statements
    
    * Exclude sniff that would break comments
    
    * Fix multiline function declarations
    
    * Fix wrong array indentation
    
    * Fix snake_case variable names
    
    * Remove more false-positive errors
    
    * Fix control structure spacing
    
    * Fix arrays
    
    * Use property promotion
    
    * Simplify multiline array rules
    
    * Check code formatting (#265)
    
    * Check code formatting
    
    * fix highlighting
    
    * DOCSP-47059: Work with BSON (#263)
    
    * DOCSP-47059: Work with BSON
    
    * edits
    
    * RR feedback
    
    * enum ex
    
    * feedback
    
    * DOCSP-50222: Reorganize auth pages (#266)
    
    * DOCSP-50222: Reorganize auth pages
    
    * edits
    
    * fix
    
    * snooty
    
    * DOCSP-47065: Load balancing (#257)
    
    * DOCSP-47065: Load balancing
    
    * edit
    
    * word
    
    * RR feedback
    
    * DOCSP-47056: Monitoring (#260)
    
    * DOCSP-47056: Monitoring
    
    * fixes
    
    * fix
    
    * wording
    
    * table
    
    * widths
    
    * SA feedback
    
    * PV feedback
    
    * DOCSP-47071: Extended JSON (#268)
    
    * DOCSP-47071: Extended JSON
    
    * edits
    
    * vale
    
    * feedback
    
    * DOCSP-47072: Client parameters (#273)
    
    * DOCSP-47072: Client parameters
    
    * edits
    
    * fix
    
    * DOCSP-47069: Polling SRV records (#274)
    
    * DOCSP-50753: agg tutorial link (#275)
    
    * DOCSP-47063: Logging (#267)
    
    * DOCSP-47063: Logging
    
    * edits
    
    * word
    
    * feedback
    
    * code edit
    
    * fix
    
    * JT feedback
    
    * edit
    
    * spacing
    
    * gh link
    
    * JT feedback 2
    
    * RR feedback
    
    * DOCSP-50185: Connection troubleshooting (#272)
    
    * DOCSP-50185: Connection troubleshooting
    
    * edits
    
    * remove sharedinclude
    
    * fix
    
    * wording
    
    * fix
    
    * MM feedback
    
    * DOCSP-50220: Break up FAQ (#276)
    
    * DOCSP-50220: Break up FAQ
    
    * edits
    
    * RM feedback
    
    * AB feedback
    
    * fix highlight
    
    * DOCSP-50960: Install with pie (#278)
    
    * DOCSP-50960: Install with pie
    
    * edits
    
    * RR feedback
    
    * JT feedback
    
    * DOCSP-51123: CC edits and cleanup (#279)
    
    * DOCSP-51123: CC edits and cleanup
    
    * build
    
    * composer
    
    * code errors
    
    * commas
    
    * more phpcs errors
    
    * edits
    
    * phpcs
    
    * code fixes
    
    * more phpcs
    
    * fix
    
    * RR feedback
    
    * DOCSP-50772: isView() (#281)
    
    * DOCSP-50772: isView()
    
    * fix manual link
    
    Co-authored-by: Nora Reidy <nora.reidy@mongodb.com>
    
    ---------
    
    Co-authored-by: Nora Reidy <nora.reidy@mongodb.com>
    
    * phpcs
    
    * vale
    
    * use toc labels/titles
    
    * more titles
    
    * label
    
    * Drop psalm analysis for doc examples
    
    * AB feedback
    
    * filter
    
    * title changes
    
    * build errors
    
    ---------
    
    Co-authored-by: Andreas Braun <andreas.braun@mongodb.com>
    Co-authored-by: Rea Rustagi <85902999+rustagir@users.noreply.github.com>
    norareidy added a commit that referenced this pull request Jul 9, 2025
    * Add redirects workflow
    
    * DOCSP-47058: Shift TOC (#251)
    
    * DOCSP-47058: Shift TOC
    
    * edits
    
    * issues and help, edits
    
    * fix errors
    
    * redirects
    
    * landing
    
    * RR feedback
    
    * RR feedback 2
    
    * fix gh action
    
    * DOCSP-47057: Network compression (#254)
    
    * DOCSP-47057: Network compression
    
    * delete
    
    * edits
    
    * MM feedback
    
    * DOCSP-47055: Collation (#258)
    
    * DOCSP-47055: Collation
    
    * add to each page
    
    * edit
    
    * edits
    
    * list format
    
    * SA feedback
    
    * DOCSP-47060: Causal consistency (#261)
    
    * DOCSP-47060: Causal consistency
    
    * edits
    
    * Fix phpcs workflow
    
    * First fixes
    
    * Fix trailing commas
    
    * Fix string quoting
    
    * Fix whitespace errors
    
    * Fix use statements
    
    * Exclude sniff that would break comments
    
    * Fix multiline function declarations
    
    * Fix wrong array indentation
    
    * Fix snake_case variable names
    
    * Remove more false-positive errors
    
    * Fix control structure spacing
    
    * Fix arrays
    
    * Use property promotion
    
    * Simplify multiline array rules
    
    * Check code formatting (#265)
    
    * Check code formatting
    
    * fix highlighting
    
    * DOCSP-47059: Work with BSON (#263)
    
    * DOCSP-47059: Work with BSON
    
    * edits
    
    * RR feedback
    
    * enum ex
    
    * feedback
    
    * DOCSP-50222: Reorganize auth pages (#266)
    
    * DOCSP-50222: Reorganize auth pages
    
    * edits
    
    * fix
    
    * snooty
    
    * DOCSP-47065: Load balancing (#257)
    
    * DOCSP-47065: Load balancing
    
    * edit
    
    * word
    
    * RR feedback
    
    * DOCSP-47056: Monitoring (#260)
    
    * DOCSP-47056: Monitoring
    
    * fixes
    
    * fix
    
    * wording
    
    * table
    
    * widths
    
    * SA feedback
    
    * PV feedback
    
    * DOCSP-47071: Extended JSON (#268)
    
    * DOCSP-47071: Extended JSON
    
    * edits
    
    * vale
    
    * feedback
    
    * DOCSP-47072: Client parameters (#273)
    
    * DOCSP-47072: Client parameters
    
    * edits
    
    * fix
    
    * DOCSP-47069: Polling SRV records (#274)
    
    * DOCSP-50753: agg tutorial link (#275)
    
    * DOCSP-47063: Logging (#267)
    
    * DOCSP-47063: Logging
    
    * edits
    
    * word
    
    * feedback
    
    * code edit
    
    * fix
    
    * JT feedback
    
    * edit
    
    * spacing
    
    * gh link
    
    * JT feedback 2
    
    * RR feedback
    
    * DOCSP-50185: Connection troubleshooting (#272)
    
    * DOCSP-50185: Connection troubleshooting
    
    * edits
    
    * remove sharedinclude
    
    * fix
    
    * wording
    
    * fix
    
    * MM feedback
    
    * DOCSP-50220: Break up FAQ (#276)
    
    * DOCSP-50220: Break up FAQ
    
    * edits
    
    * RM feedback
    
    * AB feedback
    
    * fix highlight
    
    * DOCSP-50960: Install with pie (#278)
    
    * DOCSP-50960: Install with pie
    
    * edits
    
    * RR feedback
    
    * JT feedback
    
    * DOCSP-51123: CC edits and cleanup (#279)
    
    * DOCSP-51123: CC edits and cleanup
    
    * build
    
    * composer
    
    * code errors
    
    * commas
    
    * more phpcs errors
    
    * edits
    
    * phpcs
    
    * code fixes
    
    * more phpcs
    
    * fix
    
    * RR feedback
    
    * DOCSP-50772: isView() (#281)
    
    * DOCSP-50772: isView()
    
    * fix manual link
    
    Co-authored-by: Nora Reidy <nora.reidy@mongodb.com>
    
    ---------
    
    Co-authored-by: Nora Reidy <nora.reidy@mongodb.com>
    
    * phpcs
    
    * vale
    
    * use toc labels/titles
    
    * more titles
    
    * label
    
    * Drop psalm analysis for doc examples
    
    * AB feedback
    
    * filter
    
    * title changes
    
    * build errors
    
    ---------
    
    Co-authored-by: Andreas Braun <andreas.braun@mongodb.com>
    Co-authored-by: Rea Rustagi <85902999+rustagir@users.noreply.github.com>
    (cherry picked from commit 70a7512)
    norareidy added a commit to norareidy/docs-php-library that referenced this pull request Jul 9, 2025
    * Add redirects workflow
    
    * DOCSP-47058: Shift TOC (mongodb#251)
    
    * DOCSP-47058: Shift TOC
    
    * edits
    
    * issues and help, edits
    
    * fix errors
    
    * redirects
    
    * landing
    
    * RR feedback
    
    * RR feedback 2
    
    * fix gh action
    
    * DOCSP-47057: Network compression (mongodb#254)
    
    * DOCSP-47057: Network compression
    
    * delete
    
    * edits
    
    * MM feedback
    
    * DOCSP-47055: Collation (mongodb#258)
    
    * DOCSP-47055: Collation
    
    * add to each page
    
    * edit
    
    * edits
    
    * list format
    
    * SA feedback
    
    * DOCSP-47060: Causal consistency (mongodb#261)
    
    * DOCSP-47060: Causal consistency
    
    * edits
    
    * Fix phpcs workflow
    
    * First fixes
    
    * Fix trailing commas
    
    * Fix string quoting
    
    * Fix whitespace errors
    
    * Fix use statements
    
    * Exclude sniff that would break comments
    
    * Fix multiline function declarations
    
    * Fix wrong array indentation
    
    * Fix snake_case variable names
    
    * Remove more false-positive errors
    
    * Fix control structure spacing
    
    * Fix arrays
    
    * Use property promotion
    
    * Simplify multiline array rules
    
    * Check code formatting (mongodb#265)
    
    * Check code formatting
    
    * fix highlighting
    
    * DOCSP-47059: Work with BSON (mongodb#263)
    
    * DOCSP-47059: Work with BSON
    
    * edits
    
    * RR feedback
    
    * enum ex
    
    * feedback
    
    * DOCSP-50222: Reorganize auth pages (mongodb#266)
    
    * DOCSP-50222: Reorganize auth pages
    
    * edits
    
    * fix
    
    * snooty
    
    * DOCSP-47065: Load balancing (mongodb#257)
    
    * DOCSP-47065: Load balancing
    
    * edit
    
    * word
    
    * RR feedback
    
    * DOCSP-47056: Monitoring (mongodb#260)
    
    * DOCSP-47056: Monitoring
    
    * fixes
    
    * fix
    
    * wording
    
    * table
    
    * widths
    
    * SA feedback
    
    * PV feedback
    
    * DOCSP-47071: Extended JSON (mongodb#268)
    
    * DOCSP-47071: Extended JSON
    
    * edits
    
    * vale
    
    * feedback
    
    * DOCSP-47072: Client parameters (mongodb#273)
    
    * DOCSP-47072: Client parameters
    
    * edits
    
    * fix
    
    * DOCSP-47069: Polling SRV records (mongodb#274)
    
    * DOCSP-50753: agg tutorial link (mongodb#275)
    
    * DOCSP-47063: Logging (mongodb#267)
    
    * DOCSP-47063: Logging
    
    * edits
    
    * word
    
    * feedback
    
    * code edit
    
    * fix
    
    * JT feedback
    
    * edit
    
    * spacing
    
    * gh link
    
    * JT feedback 2
    
    * RR feedback
    
    * DOCSP-50185: Connection troubleshooting (mongodb#272)
    
    * DOCSP-50185: Connection troubleshooting
    
    * edits
    
    * remove sharedinclude
    
    * fix
    
    * wording
    
    * fix
    
    * MM feedback
    
    * DOCSP-50220: Break up FAQ (mongodb#276)
    
    * DOCSP-50220: Break up FAQ
    
    * edits
    
    * RM feedback
    
    * AB feedback
    
    * fix highlight
    
    * DOCSP-50960: Install with pie (mongodb#278)
    
    * DOCSP-50960: Install with pie
    
    * edits
    
    * RR feedback
    
    * JT feedback
    
    * DOCSP-51123: CC edits and cleanup (mongodb#279)
    
    * DOCSP-51123: CC edits and cleanup
    
    * build
    
    * composer
    
    * code errors
    
    * commas
    
    * more phpcs errors
    
    * edits
    
    * phpcs
    
    * code fixes
    
    * more phpcs
    
    * fix
    
    * RR feedback
    
    * DOCSP-50772: isView() (mongodb#281)
    
    * DOCSP-50772: isView()
    
    * fix manual link
    
    Co-authored-by: Nora Reidy <nora.reidy@mongodb.com>
    
    ---------
    
    Co-authored-by: Nora Reidy <nora.reidy@mongodb.com>
    
    * phpcs
    
    * vale
    
    * use toc labels/titles
    
    * more titles
    
    * label
    
    * Drop psalm analysis for doc examples
    
    * AB feedback
    
    * filter
    
    * title changes
    
    * build errors
    
    ---------
    
    Co-authored-by: Andreas Braun <andreas.braun@mongodb.com>
    Co-authored-by: Rea Rustagi <85902999+rustagir@users.noreply.github.com>
    (cherry picked from commit 70a7512)
    (cherry picked from commit f11a732)
    norareidy added a commit that referenced this pull request Jul 9, 2025
    * PHP Comprehensive Coverage (#282)
    
    * Add redirects workflow
    
    * DOCSP-47058: Shift TOC (#251)
    
    * DOCSP-47058: Shift TOC
    
    * edits
    
    * issues and help, edits
    
    * fix errors
    
    * redirects
    
    * landing
    
    * RR feedback
    
    * RR feedback 2
    
    * fix gh action
    
    * DOCSP-47057: Network compression (#254)
    
    * DOCSP-47057: Network compression
    
    * delete
    
    * edits
    
    * MM feedback
    
    * DOCSP-47055: Collation (#258)
    
    * DOCSP-47055: Collation
    
    * add to each page
    
    * edit
    
    * edits
    
    * list format
    
    * SA feedback
    
    * DOCSP-47060: Causal consistency (#261)
    
    * DOCSP-47060: Causal consistency
    
    * edits
    
    * Fix phpcs workflow
    
    * First fixes
    
    * Fix trailing commas
    
    * Fix string quoting
    
    * Fix whitespace errors
    
    * Fix use statements
    
    * Exclude sniff that would break comments
    
    * Fix multiline function declarations
    
    * Fix wrong array indentation
    
    * Fix snake_case variable names
    
    * Remove more false-positive errors
    
    * Fix control structure spacing
    
    * Fix arrays
    
    * Use property promotion
    
    * Simplify multiline array rules
    
    * Check code formatting (#265)
    
    * Check code formatting
    
    * fix highlighting
    
    * DOCSP-47059: Work with BSON (#263)
    
    * DOCSP-47059: Work with BSON
    
    * edits
    
    * RR feedback
    
    * enum ex
    
    * feedback
    
    * DOCSP-50222: Reorganize auth pages (#266)
    
    * DOCSP-50222: Reorganize auth pages
    
    * edits
    
    * fix
    
    * snooty
    
    * DOCSP-47065: Load balancing (#257)
    
    * DOCSP-47065: Load balancing
    
    * edit
    
    * word
    
    * RR feedback
    
    * DOCSP-47056: Monitoring (#260)
    
    * DOCSP-47056: Monitoring
    
    * fixes
    
    * fix
    
    * wording
    
    * table
    
    * widths
    
    * SA feedback
    
    * PV feedback
    
    * DOCSP-47071: Extended JSON (#268)
    
    * DOCSP-47071: Extended JSON
    
    * edits
    
    * vale
    
    * feedback
    
    * DOCSP-47072: Client parameters (#273)
    
    * DOCSP-47072: Client parameters
    
    * edits
    
    * fix
    
    * DOCSP-47069: Polling SRV records (#274)
    
    * DOCSP-50753: agg tutorial link (#275)
    
    * DOCSP-47063: Logging (#267)
    
    * DOCSP-47063: Logging
    
    * edits
    
    * word
    
    * feedback
    
    * code edit
    
    * fix
    
    * JT feedback
    
    * edit
    
    * spacing
    
    * gh link
    
    * JT feedback 2
    
    * RR feedback
    
    * DOCSP-50185: Connection troubleshooting (#272)
    
    * DOCSP-50185: Connection troubleshooting
    
    * edits
    
    * remove sharedinclude
    
    * fix
    
    * wording
    
    * fix
    
    * MM feedback
    
    * DOCSP-50220: Break up FAQ (#276)
    
    * DOCSP-50220: Break up FAQ
    
    * edits
    
    * RM feedback
    
    * AB feedback
    
    * fix highlight
    
    * DOCSP-50960: Install with pie (#278)
    
    * DOCSP-50960: Install with pie
    
    * edits
    
    * RR feedback
    
    * JT feedback
    
    * DOCSP-51123: CC edits and cleanup (#279)
    
    * DOCSP-51123: CC edits and cleanup
    
    * build
    
    * composer
    
    * code errors
    
    * commas
    
    * more phpcs errors
    
    * edits
    
    * phpcs
    
    * code fixes
    
    * more phpcs
    
    * fix
    
    * RR feedback
    
    * DOCSP-50772: isView() (#281)
    
    * DOCSP-50772: isView()
    
    * fix manual link
    
    Co-authored-by: Nora Reidy <nora.reidy@mongodb.com>
    
    ---------
    
    Co-authored-by: Nora Reidy <nora.reidy@mongodb.com>
    
    * phpcs
    
    * vale
    
    * use toc labels/titles
    
    * more titles
    
    * label
    
    * Drop psalm analysis for doc examples
    
    * AB feedback
    
    * filter
    
    * title changes
    
    * build errors
    
    ---------
    
    Co-authored-by: Andreas Braun <andreas.braun@mongodb.com>
    Co-authored-by: Rea Rustagi <85902999+rustagir@users.noreply.github.com>
    (cherry picked from commit 70a7512)
    (cherry picked from commit f11a732)
    
    * build errors
    
    * remove isView
    
    ---------
    
    Co-authored-by: Andreas Braun <andreas.braun@mongodb.com>
    Co-authored-by: Rea Rustagi <85902999+rustagir@users.noreply.github.com>
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    None yet
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    4 participants